
#include "CHalControl.h"

#include <iostream>
using namespace std;


CHalControl::CHalControl()
{
    cout << "CHalControl::CHalControl()" << endl;

}


CHalControl::~CHalControl()
{
    cout << "CHalControl::~CHalControl()" << endl;
}


bool CHalControl::init()
{
    cout << "CHalControl::init" << endl;
    return true;
}


void CHalControl::run()
{
    cout << "CHalControl::run" << endl;

    int i = doDummy(10, 10);

    cout << "result: " << i << endl;
}


int CHalControl::doDummy(int i, int j)
{
    cout << "CHalControl::doDummy" << endl;
    return i * i;
}


